package GUI;

import java.io.IOException;

import javax.swing.JFrame;

import Client.Client;



public class Main {
	public static void main (String[] args){
		JFrame frame = null;
		try{
		Client client;
		
		client = new Client("localhost", 9999, "/testfolder/");
//		client = new Client("130.235.35.139", 9999, "/testfolder/");
		System.out.println("1");
		
		frame = new GUIFrame(client);

		

		System.out.println("1");
		}catch(Exception e){
			if(frame !=null) {
//				frame.warningMessage("hej");
				System.out.println("fan");
			}
		}
		
		
	}
}
